package com.futureCloudMOM.core.service;

import com.futureCloudMOM.core.base.service.BaseService;
import com.futureCloudMOM.core.domain.BasicRoutingProcess;
import com.futureCloudMOM.core.domain.ProduceTaskBillRoutingParam;

import java.util.List;

/**
 * 【Produce_TaskBillRoutingParam】的数据库操作Service
 *
 * @author Administrator
 * @since 2023-06-06 16:03:15
 */
public interface ProduceTaskBillRoutingParamService extends BaseService<ProduceTaskBillRoutingParam> {

    /**
     * 根据订单工序ID查询
     *
     * @param processId 生产订单工序ID
     * @return 列表
     */
    List<ProduceTaskBillRoutingParam> selectListByProcessId(Long processId);

    /**
     * 根据工艺工序ID创建订单工序加工参数
     *
     * @param billProcessId 生产订单工序ID
     * @param basicRoutingProcess   工艺工序
     */
    void create(Long billProcessId, BasicRoutingProcess basicRoutingProcess);

    /**
     * 根据工艺工序ID删除订单工序上料参数
     *
     * @param processId 工艺工序ID
     */
    void deleteByProcessId(Long processId);

}
